﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Universum.Model.Domain.Classes;
using Universum.Model.Domain;

namespace Universum.Infrastructure.Persistence.Queries.Classes
{
	public class PageArticleByPageGroupId : IDomainQuery<PageArticle>
	{
		public PageArticleByPageGroupId( Guid pageGroupId)
		{
			Expression = it => pageGroupId == it.PageGroupId;
		}
		#region IDomainQuery<PageArticle> Members

		public System.Linq.Expressions.Expression<Func<PageArticle, bool>> Expression
		{
			get;
			private set;
		}

		#endregion
	}
}
